/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package javaapplication1.uno;

import java.util.ArrayList;
import java.util.Collection;
import java.util.HashSet;
import java.util.Set;

/**
 *
 * @author abelitro
 */
public class TestSet {
    enum Example{ONE,TWO,THREE}
    public static void main(String a[]){
        Collection coll = new ArrayList();
        coll.add(Example.THREE);
        coll.add(Example.THREE);
        coll.add(Example.THREE);
        coll.add(Example.TWO);
        coll.add(Example.TWO);
        coll.add(Example.ONE);
        Set set = new HashSet(coll);

    }
}
